<script>
    $(document).ready(function() {
        $('.button').click(function() {
            $(document).attr("location", "index.php?muc=nhom1&modul=ds_confirm");
        });
    });
</script>
<div class="content-box"><!-- Start Content Box -->
    <div class="content-box-header">
        <h3>Xác nhận điểm thi</h3>
    </div>
    <!-- main content -->
    <div class="content-box-content">


        <form action="" method="POST" id="formnoidung" name="dulieu">
            <table>
                <tbody>
                    <tr class="alt-row">
                        <td><b>Đơn Vị</b></td>
                        <td colspan="3">
                            <select name="donvi" id="donvi">
                                {foreach from=$ds_dv item=dv}
                                    <option value="{$dv->getma_donvi()}">{$dv->getten_donvi()}</option>
                                {/foreach}    
                            </select>
                            <input type="hidden" name="donviluu" value="" id="donviluu"> 
                        </td>
                        <td colspan="2"></td>
                        <td><b>Ngành</b></td>
                        <td colspan="5">
                            <select name="nganh" id="donvi">
                                {foreach from=$ds_nganh item=nganh}
                                    <option value="{$nganh->getmadm_nganh()}">{$nganh->getten_nganh()}</option>
                                {/foreach}
                            </select>
                            <input type="hidden" name="donviluu" value="" id="donviluu"> 
                        </td>
                    </tr>
                    
                    <tr class="alt-row">
                        <td><b>ĐVHV</b></td>
                        <td colspan="4">
                            <select name="nganh" id="donvi">
                                {foreach from=$ds_dvhv item=dvhv}
                                    <option value="{$dvhv->getma_donvihocvu()}">{$dvhv->getma_donvihocvu()}</option>
                                {/foreach}
                            </select>
                            <input type="hidden" name="donviluu" value="" id="donviluu"> 
                        </td>

                        <td colspan="2"><b>&nbsp;&nbsp;Môn</b></td>
                        <td colspan="4">
                            <select name="nganh" id="donvi">
                                {foreach from=$ds_mh item=mh}
                                    <option value="{$mh->getmadm_mh()}">{$mh->getten_mh()}</option>
                                {/foreach}
                            </select>
                            <input type="hidden" name="donviluu" value="" id="donviluu"> 
                        </td>
                        <td colspan="3"><input class="button" type="submit" name="Luu" value="Lấy danh sách"></td>
                    </tr>

                </tbody></table>

            <table>
                <tbody>
                    <tr>
                        <th class="cangiua">STT</th>
                        <th class="cangiua">Mã DS Thi<th>
                        <th class="cangiua">Môn thi</th>
                        <th class="cangiua">Trạng thái</th>
                        <th class="cangiua">Tác vụ</th>
                    </tr>

                    <tr>
                        <td class="cangiua">1</td>
                        <td class="cangiua">0011a124545</td>
                        <td class="cangiua" colspan="2">Mac1</td>
                        <td class="cangiua">Chưa xác nhận</td>
                        <td class="cangiua"><input class="button" type="button" name="Luu" value="Chi tiết"></td>
                    </tr>
                    <tr>
                        <td colspan="10">
                            <label id="chitiet0"></label>
                            <input name="nganhluu0" id="nganhluu0" type="hidden">
                            <input name="lopluu0" id="lopluu0" type="hidden">

                        </td>
                    </tr>


                    <tr>
                        <td class="cangiua">1</td>
                        <td class="cangiua">0011a124545</td>
                        <td class="cangiua" colspan="2">Mac1</td>
                        <td class="cangiua">Đã xác nhận</td>
                        <td class="cangiua"><input class="button" type="button" name="Luu" value="Chi tiết"></td>
                    </tr>
                    <tr>
                        <td colspan="10">
                            <label id="chitiet0"></label>
                            <input name="nganhluu0" id="nganhluu0" type="hidden">
                            <input name="lopluu0" id="lopluu0" type="hidden">

                        </td>
                    </tr>

                </tbody>
            </table>

        </form>

        <!-- End main content -->
    </div>